DescribeDomainDetail
Description
call the DescribeDomainDetail interface to obtain domain name asset details.
Request Method
POST
Request Path
/apsara/route/Sas/DescribeDomainDetail
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
SourceIp | BODY | string | No | 1.2.3.4 | access the IP address of the source. |
DomainName | BODY | string | Yes | *.test.com | domain name or website name. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
InstanceName | string | iZm5e6w7dzsktt6mz4yimeZ-60288 | asset name. |
AssetType | string | 0 | the asset type of the asset under the domain name. Valid values include: < B data-tag=" B "class=" B ">0:ECS 1: load balancing 2:NAT gateway 3:RDS database 4:MongoDB database |
DomainDetailItems | array | No sample value for this parameter. | domain name related asset information. |
Uuid | string | lb-bp1g9dohoyin9cjhn6itt | unique identification ID of the asset instance. |
RequestId | string | 3A85CFCF-05C8-451A-9E41-C0D5E96BA407 | request ID. |
InternetIp | string | 1.2.3.1 | the public IP address corresponding to the asset. |
InstanceId | string | i-m5e6w7dzsktt6mz4yime | asset instance ID. |
RootDomain | string | tst.com | the root domain name corresponding to the domain name. |
Domain | string | B .tst.com | domain name name. |
IntranetIp | string | 1.2.3.2 | the private IP address corresponding to the asset. |
Example
Successful Response example
{
"InstanceName":"iZm5e6w7dzsktt6mz4yimeZ-60288",
"AssetType":"0",
"DomainDetailItems":"",
"Uuid":"lb-bp1g9dohoyin9cjhn6itt",
"RequestId":"3A85CFCF-05C8-451A-9E41-C0D5E96BA407",
"InternetIp":"1.2.3.1",
"InstanceId":"i-m5e6w7dzsktt6mz4yime",
"RootDomain":"tst.com",
"Domain":"B .tst.com",
"IntranetIp":"1.2.3.2"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}